<?php
class SU{
    public $o=55;
}

function bb(SU  $p){
 echo 444;
}
$su=new SU();
bb($su);